home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / x2ftp / msdos / source / xcode / structs.inc < prev    next >
Encoding:
Text File  |  1993-09-21  |  1.2 KB  |  44 lines

  1. ;----------------------------------------------------------------------------:
  2. ; STRUCTS.INC                                                                 :
  3. ;                                                                             :
  4. ; Global data structures for CPCC                                             :
  5. ; (C) John Connors 1993                                                      :
  6. ;----------------------------------------------------------------------------:
  7.  
  8. ;----------------------------------------------------------------------------:
  9. ; The header of a .PCX or .PCC file                                          :
  10. ;----------------------------------------------------------------------------:
  11.  
  12. STRUC    PCX_Header
  13.     Id                        db    ?
  14.     Version                 db    ?
  15.     Encoding_Mode            db    ?
  16.     Bits_per_Pixel            db    ?
  17.     X1                        dw    ?
  18.     Y1                        dw    ?
  19.     X2                        dw    ?
  20.     Y2                        dw    ?
  21.     Horizontal_Resolution    dw    ?
  22.     Vertical_Resolution     dw    ?
  23.     Colour_Map                db    48    dup (?)
  24.     Not_Used                db    ?
  25.     Number_Of_Planes        db    ?
  26.     Bits_per_Plane_Line     dw    ?
  27.     Palette_Information     dw    ?
  28.                             dw    ?
  29.                             dw    ?
  30.     Extra                    db    54    dup (?)
  31. ENDS    PCX_Header
  32.  
  33. ;----------------------------------------------------------------------------:
  34. ; A Colour Look up Table, or Palette!                                         :
  35. ;----------------------------------------------------------------------------:
  36.  
  37.  
  38. STRUC    PCX_CLUT
  39.     Colour_Information        db    3 dup (256 dup (?))
  40. ENDS    PCX_CLUT
  41.  
  42.  
  43.  
  44.